<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WeiboAndroid: com.example.hp.weibo.ZhuanfaActivity类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WeiboAndroid
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">微博</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespacecom.html">com</a></li><li class="navelem"><a class="el" href="namespacecom_1_1example.html">example</a></li><li class="navelem"><a class="el" href="namespacecom_1_1example_1_1hp.html">hp</a></li><li class="navelem"><a class="el" href="namespacecom_1_1example_1_1hp_1_1weibo.html">weibo</a></li><li class="navelem"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_zhuanfa_activity.html">ZhuanfaActivity</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pri-methods">Private 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="classcom_1_1example_1_1hp_1_1weibo_1_1_zhuanfa_activity-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">com.example.hp.weibo.ZhuanfaActivity类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 com.example.hp.weibo.ZhuanfaActivity 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcom_1_1example_1_1hp_1_1weibo_1_1_zhuanfa_activity.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:a40aea9cb702c057c7cb00832285af1ac"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_zhuanfa_activity.html#a40aea9cb702c057c7cb00832285af1ac">onCreate</a> (Bundle savedInstanceState)</td></tr>
<tr class="separator:a40aea9cb702c057c7cb00832285af1ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private 成员函数</h2></td></tr>
<tr class="memitem:abc752f2cfb97aecc18ee27447fa1c7d5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_zhuanfa_activity.html#abc752f2cfb97aecc18ee27447fa1c7d5">show</a> (final String response)</td></tr>
<tr class="separator:abc752f2cfb97aecc18ee27447fa1c7d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a0efaff5e5f1a84c66a70f78fe5a5570c"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_zhuanfa_activity.html#a0efaff5e5f1a84c66a70f78fe5a5570c">Phone</a></td></tr>
<tr class="memdesc:a0efaff5e5f1a84c66a70f78fe5a5570c"><td class="mdescLeft">&#160;</td><td class="mdescRight">手机号  <a href="#a0efaff5e5f1a84c66a70f78fe5a5570c">更多...</a><br /></td></tr>
<tr class="separator:a0efaff5e5f1a84c66a70f78fe5a5570c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a665b7f2dc201e93f27756721ca033617"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_zhuanfa_activity.html#a665b7f2dc201e93f27756721ca033617">Image</a></td></tr>
<tr class="memdesc:a665b7f2dc201e93f27756721ca033617"><td class="mdescLeft">&#160;</td><td class="mdescRight">图片  <a href="#a665b7f2dc201e93f27756721ca033617">更多...</a><br /></td></tr>
<tr class="separator:a665b7f2dc201e93f27756721ca033617"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac549a665021f91596b568b567df6027f"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_zhuanfa_activity.html#ac549a665021f91596b568b567df6027f">Word</a></td></tr>
<tr class="memdesc:ac549a665021f91596b568b567df6027f"><td class="mdescLeft">&#160;</td><td class="mdescRight">正文  <a href="#ac549a665021f91596b568b567df6027f">更多...</a><br /></td></tr>
<tr class="separator:ac549a665021f91596b568b567df6027f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf241f43e52a316b0be8db6d7dc6f812"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_zhuanfa_activity.html#abf241f43e52a316b0be8db6d7dc6f812">zhuanWord</a></td></tr>
<tr class="memdesc:abf241f43e52a316b0be8db6d7dc6f812"><td class="mdescLeft">&#160;</td><td class="mdescRight">转发正文  <a href="#abf241f43e52a316b0be8db6d7dc6f812">更多...</a><br /></td></tr>
<tr class="separator:abf241f43e52a316b0be8db6d7dc6f812"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a95b145525b27c1362344c13a41f556c8"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_zhuanfa_activity.html#a95b145525b27c1362344c13a41f556c8">Weibonum</a></td></tr>
<tr class="memdesc:a95b145525b27c1362344c13a41f556c8"><td class="mdescLeft">&#160;</td><td class="mdescRight">微博号  <a href="#a95b145525b27c1362344c13a41f556c8">更多...</a><br /></td></tr>
<tr class="separator:a95b145525b27c1362344c13a41f556c8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f2cdd568e05b32c8c8d46859fa51a88"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_zhuanfa_activity.html#a9f2cdd568e05b32c8c8d46859fa51a88">Weiboname</a></td></tr>
<tr class="memdesc:a9f2cdd568e05b32c8c8d46859fa51a88"><td class="mdescLeft">&#160;</td><td class="mdescRight">微博名  <a href="#a9f2cdd568e05b32c8c8d46859fa51a88">更多...</a><br /></td></tr>
<tr class="separator:a9f2cdd568e05b32c8c8d46859fa51a88"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afd6a70c50a96a1bc7f61f4a1ac118298"><td class="memItemLeft" align="right" valign="top">String&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcom_1_1example_1_1hp_1_1weibo_1_1_zhuanfa_activity.html#afd6a70c50a96a1bc7f61f4a1ac118298">Time</a></td></tr>
<tr class="memdesc:afd6a70c50a96a1bc7f61f4a1ac118298"><td class="mdescLeft">&#160;</td><td class="mdescRight">时间  <a href="#afd6a70c50a96a1bc7f61f4a1ac118298">更多...</a><br /></td></tr>
<tr class="separator:afd6a70c50a96a1bc7f61f4a1ac118298"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>转发微博页面 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="a40aea9cb702c057c7cb00832285af1ac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40aea9cb702c057c7cb00832285af1ac">&#9670;&nbsp;</a></span>onCreate()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.example.hp.weibo.ZhuanfaActivity.onCreate </td>
          <td>(</td>
          <td class="paramtype">Bundle&#160;</td>
          <td class="paramname"><em>savedInstanceState</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取手机号、图片、转发正文、微博号、微博名</p>
<p>初始化控件</p>
<p>返回文本框点击事件</p>
<p>转发按钮点击事件</p>
<p>获取正文</p>
<p>正文不为空 获取系统时间</p>
<p>向服务器提交数据</p>
<p>联网失败，提示用户网络异常</p>
<p>获取返回值</p>
<p>转化为int形式</p>
<p>返回值为1，提示用户转发成功，跳转页面</p>
<p>返回值为0，提示用户发表失败 </p>

</div>
</div>
<a id="abc752f2cfb97aecc18ee27447fa1c7d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc752f2cfb97aecc18ee27447fa1c7d5">&#9670;&nbsp;</a></span>show()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void com.example.hp.weibo.ZhuanfaActivity.show </td>
          <td>(</td>
          <td class="paramtype">final String&#160;</td>
          <td class="paramname"><em>response</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>根据不同操作，给用户不同提示</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">response</td><td>要显示的值 </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a665b7f2dc201e93f27756721ca033617"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a665b7f2dc201e93f27756721ca033617">&#9670;&nbsp;</a></span>Image</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String com.example.hp.weibo.ZhuanfaActivity.Image</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>图片 </p>

</div>
</div>
<a id="a0efaff5e5f1a84c66a70f78fe5a5570c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0efaff5e5f1a84c66a70f78fe5a5570c">&#9670;&nbsp;</a></span>Phone</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String com.example.hp.weibo.ZhuanfaActivity.Phone</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>手机号 </p>

</div>
</div>
<a id="afd6a70c50a96a1bc7f61f4a1ac118298"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afd6a70c50a96a1bc7f61f4a1ac118298">&#9670;&nbsp;</a></span>Time</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String com.example.hp.weibo.ZhuanfaActivity.Time</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>时间 </p>

</div>
</div>
<a id="a9f2cdd568e05b32c8c8d46859fa51a88"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f2cdd568e05b32c8c8d46859fa51a88">&#9670;&nbsp;</a></span>Weiboname</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String com.example.hp.weibo.ZhuanfaActivity.Weiboname</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>微博名 </p>

</div>
</div>
<a id="a95b145525b27c1362344c13a41f556c8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a95b145525b27c1362344c13a41f556c8">&#9670;&nbsp;</a></span>Weibonum</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String com.example.hp.weibo.ZhuanfaActivity.Weibonum</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>微博号 </p>

</div>
</div>
<a id="ac549a665021f91596b568b567df6027f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac549a665021f91596b568b567df6027f">&#9670;&nbsp;</a></span>Word</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String com.example.hp.weibo.ZhuanfaActivity.Word</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>正文 </p>

</div>
</div>
<a id="abf241f43e52a316b0be8db6d7dc6f812"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf241f43e52a316b0be8db6d7dc6f812">&#9670;&nbsp;</a></span>zhuanWord</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">String com.example.hp.weibo.ZhuanfaActivity.zhuanWord</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>转发正文 </p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>G:/AndroidWork/WeiBo/app/src/main/java/com/example/hp/weibo/<a class="el" href="_zhuanfa_activity_8java.html">ZhuanfaActivity.java</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
